package com.stone.sys.pojo;

import javax.persistence.Transient;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * 常用短语
 */
@Entity
@Table(name = "SYS_CYDY")
public class TCydy implements java.io.Serializable {

	/**
	 * id
	 */
	private Long id;	
	
	/**
	 * 短语类型
	 */
	private String dytype;
	
	/**
	 * 短语类型名称
	 */
	private String dytypename;
	
	/**
	 * 短语编号
	 */
	private String dycode;
	
	/**
	 * 短语
	 */
	private String dyname;
	
	/**
	 * 备注
	 */
	private String bz;
	
	/**
	 * 排序
	 */
	private Long sortid;
	
	/**
	 * 父页面字段名
	 */
	private String parentColName;
        
    @Id
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="SEQ_CYDY")
    @SequenceGenerator(name="SEQ_CYDY",allocationSize=1, sequenceName="SEQ_CYDY")
    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

	public String getDytype() {
		return dytype;
	}

	public void setDytype(String dytype) {
		this.dytype = dytype;
	}

	public String getDytypename() {
		return dytypename;
	}

	public void setDytypename(String dytypename) {
		this.dytypename = dytypename;
	}

	public String getDycode() {
		return dycode;
	}

	public void setDycode(String dycode) {
		this.dycode = dycode;
	}

	public String getDyname() {
		return dyname;
	}

	public void setDyname(String dyname) {
		this.dyname = dyname;
	}

	public String getBz() {
		return bz;
	}

	public void setBz(String bz) {
		this.bz = bz;
	}

	public Long getSortid() {
		return sortid;
	}

	public void setSortid(Long sortid) {
		this.sortid = sortid;
	}

	@Transient
	public String getParentColName() {
		return parentColName;
	}

	public void setParentColName(String parentColName) {
		this.parentColName = parentColName;
	}
	
    
}